import { requestPort } from '@/utils/request.js';

//我的提问列表
export function getMyAsk(params) {
	return requestPort({
		url: '/api/user/getJianghuMyQuiz',
		method: 'POST',
		params: params
	});
}

//我删除我的提问
export function delMyAsk(params) {
	return requestPort({
		url: '/api/user/delmyquiz',
		method: 'POST',
		params: params
	});
}

//获取资讯列表
export function getList(params) {
	return requestPort({
		url: '/api/imformation/getList',
		method: 'POST',
		params: params
	});
}

//获取会计工作小帮手资讯分类
export function getCate(params) {
	return requestPort({
		url: '/api/imformation/getCate',
		method: 'POST',
		params: params
	});
}

// 展示热门资讯列表
export function getHotInformation(params) {
	return requestPort({
		url: '/api/imformation/hot_imformation',
		method: 'POST',
		params: params
	});
}

// 获取会计工作小帮手资讯详情
export function getInfo(params) {
	return requestPort({
		url: '/api/imformation/getListinfo',
		method: 'POST',
		params: params
	});
}
